package 接口;

public class SonlikeDo implements DadlikeDo,MomlikeDo{
    @Override
    public void basketball() {
        System.out.println("打篮球");
    }

    @Override
    public void bike() {
        System.out.println("骑车");
    }


    @Override
    public void sing() {
        System.out.println("唱歌");
    }

    @Override
    public void dance() {
        System.out.println("跳舞");
    }

    public static void main(String[] args) {
        SonlikeDo sonlikeDo=new SonlikeDo();
        sonlikeDo.basketball();
        sonlikeDo.bike();
        sonlikeDo.dance();
        sonlikeDo.sing();
    }
}
